package com.pro.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * (Courseinfo)实体类
 *
 * @author makejava
 * @since 2020-12-29 12:14:41
 */
public class Courseinfo implements Serializable {
    private static final long serialVersionUID = 780353588269555753L;

    private Integer id;
    /**
     * 课程名称
     */
    private String coursename;
    /**
     * 课程介绍（可以是一张图片，那么就是图片的URL地址）
     */
    private String coursedescription;
    /**
     * 课程图片地址
     */
    private String courseimgurl;
    /**
     * 总课时
     */
    private Integer totalhour;
    /**
     * 课程状态 1：已完结  2：更新中
     */
    private Integer coursestate;

    /**
     * 课程价格
     */
    private Double courseprice;
    /**
     * 课程讲师
     */
    private String courseteacher;
    /**
     * 排序。决定页面显示顺序
     */
    private int coursesort;
    /**
     * 学习人数。多少人收看了当前课程
     */
    private Integer learnnum;
    /**
     * 相关评价个数
     */
    private Integer evaluatecount;

    /**
     * 一级分类
     */
    private Integer categorylevel1;

    /**
     * 二级分类
     */
    private Integer categorylevel2;

    /**
     * 三积分类
     */
    private Integer categorylevel3;

    /**
     * 课程类型（audio音频，video视频，tuWen图文）
     */
    private String type;

    /**
     * 是否将该课程设置为首页推荐（1：推荐，2：不推荐）根据排序进行查询
     */
    private Integer recommend;

    /**
     * 是否将该课程设置为首页独家精选课程 1：是 2：否
     */
    private Integer selection;

    /**
     * 导师Id
     */
    private Integer mentorId;

    /***
     * 课程简介
     */
    private String introduce;

    /***
     * 创建时间
     */
    private Date createTime;

    /***
     * 更新时间
     */
    private Date updateTime;

    /***
     *课程编号，使用随机数生成
     */
    private String courseSn;


    /**
     * 导师Id
     */
    private Integer accumulatePoints;

    /***
     * 当前实体类需要嵌套其他Mentror中的数据
     */
    private Mentor mentor;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getCoursedescription() {
        return coursedescription;
    }

    public void setCoursedescription(String coursedescription) {
        this.coursedescription = coursedescription;
    }

    public String getCourseimgurl() {
        return courseimgurl;
    }

    public void setCourseimgurl(String courseimgurl) {
        this.courseimgurl = courseimgurl;
    }

    public Integer getTotalhour() {
        return totalhour;
    }

    public void setTotalhour(Integer totalhour) {
        this.totalhour = totalhour;
    }

    public Integer getCoursestate() {
        return coursestate;
    }

    public void setCoursestate(Integer coursestate) {
        this.coursestate = coursestate;
    }

    public Double getCourseprice() {
        return courseprice;
    }

    public void setCourseprice(Double courseprice) {
        this.courseprice = courseprice;
    }

    public String getCourseteacher() {
        return courseteacher;
    }

    public void setCourseteacher(String courseteacher) {
        this.courseteacher = courseteacher;
    }

    public int getCoursesort() {
        return coursesort;
    }

    public void setCoursesort(int coursesort) {
        this.coursesort = coursesort;
    }

    public Integer getLearnnum() {
        return learnnum;
    }

    public void setLearnnum(Integer learnnum) {
        this.learnnum = learnnum;
    }

    public Integer getEvaluatecount() {
        return evaluatecount;
    }

    public void setEvaluatecount(Integer evaluatecount) {
        this.evaluatecount = evaluatecount;
    }

    public Integer getCategorylevel1() {
        return categorylevel1;
    }

    public void setCategorylevel1(Integer categorylevel1) {
        this.categorylevel1 = categorylevel1;
    }

    public Integer getCategorylevel2() {
        return categorylevel2;
    }

    public void setCategorylevel2(Integer categorylevel2) {
        this.categorylevel2 = categorylevel2;
    }

    public Integer getCategorylevel3() {
        return categorylevel3;
    }

    public void setCategorylevel3(Integer categorylevel3) {
        this.categorylevel3 = categorylevel3;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getSelection() {
        return selection;
    }

    public void setSelection(Integer selection) {
        this.selection = selection;
    }

    public Integer getMentorId() {
        return mentorId;
    }

    public void setMentorId(Integer mentorId) {
        this.mentorId = mentorId;
    }

    public Mentor getMentor() {
        return mentor;
    }

    public void setMentor(Mentor mentor) {
        this.mentor = mentor;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCourseSn() {
        return courseSn;
    }

    public void setCourseSn(String courseSn) {
        this.courseSn = courseSn;
    }

    public Integer getAccumulatePoints() {
        return accumulatePoints;
    }

    public void setAccumulatePoints(Integer accumulatePoints) {
        this.accumulatePoints = accumulatePoints;
    }
}